
/* @group 
    Allgemein 
*/

#addons-page {
    padding: 0px;
}

/* @end */


/* @group
    Navigation 
*/
#addons-page > hbox {
    -moz-box-orient: vertical;
}

#categories {
    margin: 0px;
    padding: 0px;
}

.category, .category:not([disabled]) {
    height: auto;
    margin: 0px 1px 1px 0px;
    padding: 2px;
}

.category-icon {
    margin: 0px;
}

#category-search[disabled="true"],
#category-discover,
#category-availableUpdates[disabled="true"],
#category-recentUpdates[disabled="true"],
.category-name,
.category-badge {
    display: none;
}
/* @end */


/* @group 
    Header 
*/
#header {
    margin: 0px;
    padding: 4px;
}

#header-utils-btn {
    margin: 0px 5px;
    min-width: 0px;
}

#updates-container {
    padding: 5px 0px;
}

#close-btn {
    display: block !important;
}
/* @end */


/* @group 
    Content 
*/
.view-header {
    padding: 0px 4px;
    min-height: 0px; 
}

.sorter, .search-filter-radio {
    margin: 3px 0px 3px 5px;
    height: 18px;
    max-height: 18px;
}

#search-filter {
    padding: 0px;
    font-size: 11px;
}

#view-port richlistbox richlistitem {
    -moz-binding: url("chrome://aios/content/addons.xml#richlistitem");
}
/* @end */


/* @group 
    Add-ons 
*/
.addon {
    padding: 5px;
}

.addon * {
    margin: 0px;
}

.addon .warning,
.addon .error,
.addon .pending {
    margin-bottom: 10px;
}

.addon .pending > vbox {
    margin-left: 10px;
}

.addon .pending .button-box,
#updates-container .button-box {
    padding-left: 0px;
    padding-right: 0px;
}

.addon .icon-container,
.addon .warning-icon,
.addon .error-icon,
.addon .pending-icon {
    margin-right: 10px;
}

.addon .name-container {
    font-size: 11px;
    font-weight: normal;
}

.addon .name-container .name {
    font-weight: bold;
}

.addon .name-container .version {
    margin-left: 10px;
}

.addon .name-container spacer,
.addon .creator {
    display: none !important;
}
/* @end */


/* @group 
    nicht selektierte Add-ons 
*/
.addon:not([selected="true"]) .icon-container,
.addon:not([selected="true"]) .icon {
    height: 16px;
    width: 16px;
}

.addon:not([selected="true"]) .disabled-postfix,
.addon:not([selected="true"]) .update-postfix {
    margin-left: 5px;
}

.addon:not([selected="true"]) .control-container,
.addon:not([selected="true"]) .description-container,
.addon:not([selected="true"]) .date-updated,
.addon:not([selected="true"]) .relnotes-container,
.addon:not([selected="true"]) .relnotes-toggle {
    display: none !important;
}
/* @end */


/* @group 
    selektierte Add-ons 
*/
.addon[selected="true"] .icon-container,
.addon[selected="true"] .icon {
    height: 32px;
    width: 32px;
}

.addon[selected="true"] .name-container {
    font-size: 13px;
    font-weight: bold;
}

#addon-list .addon[selected="true"] .date-updated {
    display: block;
}

.addon[selected="true"] .warning-icon,
.addon[selected="true"] .error-icon,
.addon[selected="true"] .pending-icon {
    margin: 0px 18px 0px 8px;
}

.addon[selected="true"] .aios-container > vbox,
.addon[selected="true"] .install-status,
.addon[selected="true"] .relnotes-toggle {
    margin-top: 5px;
}

.addon[selected="true"] .description-container {
    -moz-box-orient: vertical;
    float: left;
}

.addon[selected="true"] .description-container .description {
    display: block;
}

.addon[selected="true"] .description-container .details {
    margin-left: -3px;
}

.addon[selected="true"] .control-container > * {
    margin-left: 5px;
    min-width: 0px;
}

.addon[selected="true"] .control-container > *:first-child {
    margin-left: 0px;
}

.addon[selected="true"] .relnotes H2 {
    font-size: 10px !important;
}

.addon[selected="true"] .relnotes UL {
    margin: 0px !important;
    padding: 0px !important;
}
/* @end */


/* @group 
    farbige Liste 
*/
/* installieren, aktivieren, upgraden */
*[aios_appDefTheme="true"] richlistitem[opType="needs-install"]:not([selected=true]),
*[aios_appDefTheme="true"] richlistitem[opType="needs-enable"]:not([selected=true]),
*[aios_appDefTheme="true"] richlistitem[opType="needs-upgrade"]:not([selected=true]),
*[aios_appDefTheme="true"] richlistitem[availableUpdateURL^="http"]:not([selected=true]) {
    background-color: #ECFFEC !important;
}

*[aios_appDefTheme="true"] richlistitem[opType="needs-install"]:not([selected=true]) > *,
*[aios_appDefTheme="true"] richlistitem[opType="needs-enable"]:not([selected=true]) > *,
*[aios_appDefTheme="true"] richlistitem[opType="needs-upgrade"]:not([selected=true]) > *,
*[aios_appDefTheme="true"] richlistitem[availableUpdateURL^="http"]:not([selected=true]) > * {
    color: #006600;
}

/* deinstallieren, deaktivieren, inkompatibel */
*[aios_appDefTheme="true"] richlistitem[opType="needs-uninstall"]:not([selected=true]),
*[aios_appDefTheme="true"] richlistitem[opType="needs-disable"]:not([selected=true]),
*[aios_appDefTheme="true"] richlistitem[compatible="false"]:not([selected=true]) {
    background-color: #FFECEC !important;
}

*[aios_appDefTheme="true"] richlistitem[opType="needs-uninstall"]:not([selected=true]) > *,
*[aios_appDefTheme="true"] richlistitem[opType="needs-disable"]:not([selected=true]) > *,
*[aios_appDefTheme="true"] richlistitem[compatible="false"]:not([selected=true]) > * {
    color: #660000;
}
/* @end */


/* @group 
    Detail-Ansicht 
*/
#detail-view .text-link {
    -moz-binding: url("chrome://aios/content/addons.xml#textlink");
}

#detail-view vbox {
    font-size: 1em;
}

#detail-view .detail-view-container {
    padding: 10px;
}

#detail-view #detail-notifications {
    margin: 0px;
    padding: 0px;
}

#detail-view #warning-container,
#detail-view #error-container,
#detail-view #pending-container {
    margin-bottom: 9px;
    padding-bottom: 10px;
}

#detail-view #pending-container .button-box {
    padding-left: 0px;
    padding-right: 0px;
}

#detail-view #pending-container > vbox {
    margin-left: 10px;
}

#detail-view #detail-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
}

#detail-view #detail-header > * {
    margin: 0px;
    padding: 0px;
}

#detail-view #detail-icon {
    margin: 0px 10px 0px 0px;
    width: 64px;
    height: 64px;
}

#detail-view spacer {
    display: none;
}

#detail-view #detail-name {
    margin-bottom: 0px;
}

#detail-view #detail-version {
    margin-bottom: 5px;
}

#detail-view #detail-name,
#detail-view #detail-version,
#detail-view .disabled-postfix,
#detail-view .update-postfix {
    font-size: 14px;
}

#detail-view #detail-restart-btn,
#detail-view #detail-undo-btn,
#detail-view #detail-name,
#detail-view #detail-version,
#detail-view #detail-creator,
#detail-view #detail-desc,
#detail-view #detail-fulldesc,
#detail-view #detail-grid * {
    margin-left: 0px;
    margin-right: 0px;
}

#detail-view #detail-name,
#detail-view #detail-desc {
    font-weight: bold;
}

#detail-view #detail-screenshot {
    margin-top: 5px;
    max-width: none;
}

#detail-view #detail-contributions > hbox {
    -moz-box-orient: vertical;
    -moz-box-align: end;
}

#detail-view #detail-rating-row > hbox {
    -moz-box-orient: vertical;
}

#detail-view #detail-controls button {
    margin-left: 0px;
}
/* @end */


/* @group 
    Firefox-Standard-Theme 
*/
#addons-page[aios_appDefTheme="true"] {
    background-image: none;
}

#addons-page[aios_appDefTheme="true"] .addon:not([selected="true"]) {
    background-color: #FFFFFF;
}

#addons-page[aios_appDefTheme="true"] #categories {
    border-top: none;
    border-bottom: 1px solid ThreedShadow;
    background-color: #ffffff;
}

#addons-page[aios_appDefTheme="true"] .category,
#addons-page[aios_appDefTheme="true"] .category:not([disabled]) {
    border: none;
    border-radius: 0px;
}

#addons-page[aios_appDefTheme="true"] .category[selected="true"] {
    background-color: #C1D2EE;
}

#addons-page[aios_appDefTheme="true"] .category:hover {
    background-color: #E0E8F6;
}

#addons-page[aios_appDefTheme="true"] #header {
    border-top: 1px solid ThreedHighlight;
    border-bottom: 1px solid ThreedShadow;
}

#addons-page[aios_appDefTheme="true"] #updates-container {
    color: infotext;
    background-color: infobackground;
    border-bottom: 1px solid ThreedShadow;
}

#addons-page[aios_appDefTheme="true"] .view-header,
#addons-page[aios_appDefTheme="true"] #search-filter {
    background-color: -moz-dialog;
    border-top: 1px solid ThreedHighlight;
    border-bottom: 1px solid ThreedShadow;
}

#addons-page[aios_appDefTheme="true"] #view-port-container {
    border: 0px;
    border-radius: 0px;
}

#addons-page[aios_appDefTheme="true"] #detail-view #warning-container,
#addons-page[aios_appDefTheme="true"] #detail-view #error-container,
#addons-page[aios_appDefTheme="true"] #detail-view #pending-container,
#addons-page[aios_appDefTheme="true"] #detail-view #detail-header {
    border-bottom: 2px solid;
    -moz-border-bottom-colors: rgba(255, 255, 255, 0.2) rgba(28, 31, 37, 0.2);
}

#addons-page[aios_appDefTheme="true"] #detail-view #detail-screenshot {
    border: 5px solid #ffffff;
}


/* @group 
    Windows 
*/
#addons-page[aios_appDefTheme="true"][aios_appOS="WINNT"] .sorter {
    color: black;
}

#addons-page[aios_appDefTheme="true"][aios_appOS="WINNT"] .sorter[checkState="1"] {
    list-style-image: url("images/arrow-dn.png");
}

#addons-page[aios_appDefTheme="true"][aios_appOS="WINNT"] .sorter[checkState="2"] {
    list-style-image: url("images/arrow-up.png");
}

#addons-page[aios_appDefTheme="true"][aios_appOS="WINNT"] .sorter[checkState="1"],
#addons-page[aios_appDefTheme="true"][aios_appOS="WINNT"] .sorter[checkState="2"] {
    background-color: grey;
    color: white;
    box-shadow: none;
    text-shadow: none;
}

#addons-page[aios_appDefTheme="true"][aios_appOS="WINNT"] .addon {
    border-top: none;
    border-bottom-width: 1px !important;
    border-bottom-style: dotted;
    border-bottom-color: rgba(0,0,0,0.3);
}

#addons-page[aios_appDefTheme="true"][aios_appOS="WINNT"] .addon:not([selected="true"]):nth-child(odd) {
    background-color: rgba(255,255,255,0.6);
}
/* @end */


/* @group 
    Windows-Standard 
*/
#addons-page[aios_appDefTheme="true"]:-moz-system-metric(windows-default-theme) #view-port-container {
    background-color: transparent;
    background-image: none;
}
/* @end */


/* @group 
    Windows-XP-Standard 
*/
#addons-page[aios_appDefTheme="true"][aios_appOSVersion="Windows NT 5.1"]:-moz-system-metric(windows-default-theme) {
    background-color: #EDECEF;
}
/* @end */


/* @group 
    Windows-Vista-7-Standard 
*/
#addons-page[aios_appDefTheme="true"]:not([aios_appOSVersion="Windows NT 5.1"]):-moz-system-metric(windows-default-theme) {
    background-color: #EEF3FA;
}

#addons-page[aios_appDefTheme="true"]:not([aios_appOSVersion="Windows NT 5.1"]):-moz-system-metric(windows-default-theme) .view-header,
#addons-page[aios_appDefTheme="true"]:not([aios_appOSVersion="Windows NT 5.1"]):-moz-system-metric(windows-default-theme) #search-filter {
    background-color: rgb(204, 217, 234);
}
/* @end */


/* @group 
    Darwin 
*/
#addons-page[aios_appDefTheme="true"][aios_appOS="Darwin"] {
    background-color: #D4DDE5;
}

#addons-page[aios_appDefTheme="true"][aios_appOS="Darwin"]:-moz-window-inactive {
    background-color: #e8e8e8;
}

#addons-page[aios_appDefTheme="true"][aios_appOS="Darwin"] > hbox {
    border-top: 1px solid #484848;
}

#addons-page[aios_appDefTheme="true"][aios_appOS="Darwin"] > hbox:-moz-window-inactive {
    border-top: 1px solid #929292;
}

#addons-page[aios_appDefTheme="true"][aios_appOS="Darwin"] #categories {
    -moz-box-align: center;
    background-color: -moz-mac-chrome-active;
    border-top: 1px solid #c0c0c0;
    border-left: 1px solid #c0c0c0;
    border-right: 1px solid #484848;
    border-bottom: 1px solid #484848;
}

#addons-page[aios_appDefTheme="true"][aios_appOS="Darwin"] #categories:-moz-window-inactive {
    background-color: -moz-mac-chrome-inactive;
    border-top: 1px solid #e1e1e1;
    border-left: 1px solid #e1e1e1;
    border-right: 1px solid #929292;
    border-bottom: 1px solid #929292;
}

#addons-page[aios_appDefTheme="true"][aios_appOS="Darwin"] #categories .scrollbox-innerbox {
    -moz-box-align: center;
    -moz-box-pack: center;
    
    padding: 0px;
    border: 1px solid rgba(0, 0, 0, 0.55);
    border-left: none;
    border-radius: 0px; /* border-radius: 3px; */
    box-shadow: 0 1px rgba(255, 255, 255, .4);
    margin: 1px 0px 2px 0px;
}

#addons-page[aios_appDefTheme="true"][aios_appOS="Darwin"] .category {
    margin: 0px;
    padding: 7px 5px;
    border-left: 1px solid rgba(0, 0, 0, 0.55);
    background: -moz-linear-gradient(top, #FFF, #ADADAD) repeat-x;
}

#addons-page[aios_appDefTheme="true"][aios_appOS="Darwin"] .category[selected="true"] {
    text-shadow: rgba(0, 0, 0, 0.4) 0 1px;
    background: #606060;
    box-shadow: inset #2A2A2A 0 3px 3.5px;
}

#addons-page[aios_appDefTheme="true"][aios_appOS="Darwin"] .category-icon {
    max-width: 24px;
    max-height: 24px;
    opacity: 0.5;
}

#addons-page[aios_appDefTheme="true"][aios_appOS="Darwin"] .category:hover .category-icon,
#addons-page[aios_appDefTheme="true"][aios_appOS="Darwin"] .category[selected="true"] .category-icon {
    opacity: 1;
}

#addons-page[aios_appDefTheme="true"][aios_appOS="Darwin"] #header {
    border-top: none;
    border-bottom: none;
}

#addons-page[aios_appDefTheme="true"][aios_appOS="Darwin"] .view-header,
#addons-page[aios_appDefTheme="true"][aios_appOS="Darwin"] #search-filter {
    background-color: #D4DDE5;
    background-image: none;
    border: none;
}

#addons-page[aios_appDefTheme="true"][aios_appOS="Darwin"] .view-header:-moz-window-inactive,
#addons-page[aios_appDefTheme="true"][aios_appOS="Darwin"] #search-filter:-moz-window-inactive {
    background-color: #e8e8e8;
}

#addons-page[aios_appDefTheme="true"][aios_appOS="Darwin"] #view-port-container {
    background-color: #D4DDE5;
    background-image: none;
}

#addons-page[aios_appDefTheme="true"][aios_appOS="Darwin"] #view-port-container:-moz-window-inactive {
    background-color: #e8e8e8;
}

#addons-page[aios_appDefTheme="true"][aios_appOS="Darwin"] #view-port richlistbox {
    margin-top: 5px;
}

#addons-page[aios_appDefTheme="true"][aios_appOS="Darwin"] .addon {
    padding: 7px 5px;
    border: none;
}

#addons-page[aios_appDefTheme="true"][aios_appOS="Darwin"] .addon:not([selected="true"]):nth-child(odd) {
    background-color: -moz-oddtreerow;
}
/* @end */


/* @group 
    Linux
*/
#addons-page[aios_appDefTheme="true"][aios_appOS="Linux"] #categories {
    padding:  1px;
    border:  1px solid ThreedShadow;
}

#addons-page[aios_appDefTheme="true"][aios_appOS="Linux"] #header {
    border:  none;
}

#addons-page[aios_appDefTheme="true"][aios_appOS="Linux"] .category,
#addons-page[aios_appDefTheme="true"][aios_appOS="Linux"] .category:not([disabled]) {
    margin: 0px 0px 1px 0px;
}

#addons-page[aios_appDefTheme="true"][aios_appOS="Linux"] .category[selected="true"] {
    background-color: highlight;
}

#addons-page[aios_appDefTheme="true"][aios_appOS="Linux"] .category:hover:not([selected="true"]) {
    background-color: transparent;
}
/* @end */
/* @end */
